﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CrawlerCore
{
    public class SearchInputService
    {
        public string DepartureCode { get; set; }
        public string ArrivalCode { get; set; }
        public DateTime DepartTime { get; set; }
        public DateTime ReturnTime { get; set; }
        public int Adults { get; set; }
        public int Children { get; set; }
        public int Inf { get; set; }
        public bool IsRoundTrip { get; set; }
        public bool Infare { get; set; }
        public SearchInputService(int Adults, string ArrivalCode, int Children, DateTime DepartTime, string DepartureCode, int Inf,
            bool IsRoundTrip, DateTime ReturnTime, bool Infare)
        {
            this.Adults=Adults;
            this.ArrivalCode=ArrivalCode;
            this.Children=Children;
            this.DepartTime=DepartTime;
            this.DepartureCode=DepartureCode;
            this.Inf=Inf;
            this.IsRoundTrip=IsRoundTrip;
            this.ReturnTime=ReturnTime;
            this.Infare = Infare;
        }
    }
}